package com.home.controller;

import com.home.Services.services;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Controller
public class textController {
    @Autowired
    services services;
    @RequestMapping("/text")
    public String text(){
        services.m();
       return "/WEB-INF/texthome.jsp";
    }
}
